PowerTools InputMan for ASP.NET 8.0J
ListItem コンストラクタ(Object[],Int32,String,Color,Color,FontInfo,String,Boolean)

サブ項目を表すObjectオブジェクト配列 (System.Object 型)
項目のインデント幅 (Int32 型)
項目の画像 (String 型)
項目の背景色 (System.Drawing.Color 型)
項目の文字色 (System.Drawing.Color 型)
項目の文字のフォント (System.Web.UI.WebControls.FontInfo 型)
項目のツールチップに表示される文字列 (String 型)
項目が表示されるかどうか (Boolean 型)
指定したデータを含むListItemクラスの新しいインスタンスを初期化します。
構文
Public Function New( _
   ByVal subItems() As Object, _
   ByVal indent As Integer, _
   ByVal image As String, _
   ByVal backColor As Color, _
   ByVal foreColor As Color, _
   ByVal font As FontInfo, _
   ByVal toolTipText As String, _
   ByVal visible As Boolean _
)

パラメータ

subItems
サブ項目を表すObjectオブジェクト配列 (System.Object 型)
indent
項目のインデント幅 (Int32 型)
image
項目の画像 (String 型)
backColor
項目の背景色 (System.Drawing.Color 型)
foreColor
項目の文字色 (System.Drawing.Color 型)
font
項目の文字のフォント (System.Web.UI.WebControls.FontInfo 型)
toolTipText
項目のツールチップに表示される文字列 (String 型)
visible
項目が表示されるかどうか (Boolean 型)
例外
例外解説
System.ArgumentOutOfRangeExceptionindentに負の値が設定されています。
参照

ListItem クラス
ListItem メンバ
オーバーロード一覧

 

 


© 2005-2015 GrapeCity inc. All rights reserved.